
import { request } from '@/utils/request';


export type Model = {
  id: string
  userNickname: string
  traceId: string
  userId: string
  module: string
  name: string
  type: number
  content: string
  exts: Map<String, Object>
  requestMethod: string
  requestUrl: string
  userIp: string
  userAgent: string
  javaMethod: string
  javaMethodArgs: string
  startTime: Date
  duration: number
  resultCode: number
  resultMsg: string
  resultData: string
}

// 查询操作日志列表
export const getPage = (params: any) => {
  return request.get({
    url: '/staff/web/userCenter/operate-log/page.json',
    params
  })
}
